package chap4.Task;
public class Task5 {
    public static void main(String[] args) {
        int i = 1;
        double sum=1;
        while (i <= 20) {
            sum*=i;
            i++;

        }
        System.out.print("1-20之间的乘积为" +sum);
    }

}
